// ------------------------------------------------------------------------------------------
// Licensed by Interprise Solutions.
// http://www.InterpriseSolutions.com
// For details on this license please visit  the product homepage at the URL above.
// THE ABOVE NOTICE MUST REMAIN INTACT.
// ------------------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Text.RegularExpressions;

namespace InterpriseSuiteEcommerceCommon.InterpriseIntegration.Authentication
{
    internal sealed class RestrictedResourceInfo
    {
        public const int DEFAULT_TIMEOUT = 30;
        private string _name = string.Empty;
        public Type _associatedPrincipalType = null;
        private string _loginUrl = string.Empty;
        private string _defaultUrl = string.Empty;
        private Qualifier _qualifier = new Qualifier();
        private int _timeOut = DEFAULT_TIMEOUT;

        public RestrictedResourceInfo() {}

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public Type AssociatedPrincipalType
        {
            get { return _associatedPrincipalType; }
            set { _associatedPrincipalType = value; }
        }
        
        public string LoginUrl
        {
            get { return _loginUrl; }
            set { _loginUrl = value; }
        }

        public string DefaultUrl
        {
            get { return _defaultUrl; }
            set { _defaultUrl = value; }
        }

        public int TimeOut
        {
            get { return _timeOut; }
            set { _timeOut = value; }
        }

        public Qualifier Qualifier
        {
            get { return _qualifier; }
        }
    }
}
